I've built a store using OScommerce a couple of years ago and I remember there were some patches to let it behave that way and sell digital products. A quick search on Google reveals them:
http://www.google.it/search?q=oscommerce+digital+product
Cheers,
Corrado